]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Use GDM instead of libaccountsservice for fast user switching
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 14 Aug 2012 15:49:46 +0000 (17:49 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 16 Aug 2012 18:57:30 +0000 (20:57 +0200)
libaccountsservice uses gdmflexiserver internally, which has been
removed from gdm. Instead, use libgdm directly.

https://bugzilla.gnome.org/show_bug.cgi?id=680231

js/ui/unlockDialog.js
js/ui/userMenu.js

index c48fbeb3159e8a65e4c7fa3f05c6becc0d50c6bb..fcad52679875ac3d31b4395e5cf6e11246545912 100644 (file)
@@ -208,7 +208,7 @@ const UnlockDialog = new Lang.Class({
     },
 
     _otherUserClicked: function(button, event) {
-        this._userManager.goto_login_session();
+        Gdm.goto_login_session_sync(null);
 
         this._userVerifier.cancel();
         this.emit('failed');
index 07f7ee69150c1c00c44786008087dd32fc2d0a04..2f743015f190086fe21de5f018ff2b82dde62ca8 100644 (file)
@@ -779,7 +779,7 @@ const UserMenuButton = new Lang.Class({
         Main.overview.hide();
         if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
             Main.screenShield.lock(false);
-        this._userManager.goto_login_session();
+        Gdm.goto_login_session_sync(null);
     },
 
     _onQuitSessionActivate: function() {